Technical Q&A QA1275
Make sure your PPD Plugin calls ppdCloseCompiledPPDFromTicket


Q: With my PPD Plugin installed, why can I only show the print dialog in an application a few dozen times before things start to misbehave?

A: This problem occurs when a PPD Plugin calls ppdOpenCompiledPPDFromTicket to gain access to the PPD contents but fails to make a matching call to ppdCloseCompiledPPDFromTicket . The end result is that the plugin, and therefore the application it is running under, opens lots of files but doesn't close them. Once the application hits the maximum number of open files, bad things start to happen, such as the Copies & Pages PDE failing to display.


[Feb 19, 2004]


Developer Documentation | Technical Notes | Development Kits | Sample Code